package com.xiaoshuidi.cloud.module.member.mapper.topics;

import com.xiaoshuidi.cloud.framework.mybatis.core.mapper.BaseMapperX;
import com.xiaoshuidi.cloud.module.member.pojo.topics.MemberTopicsThumbsRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MemberTopicsThumbsRecordMapper extends BaseMapperX<MemberTopicsThumbsRecord> {
    void updateUserId(@Param("oldUserId") Long oldUserId, @Param("userId") Long userId,@Param("list") List<Long> list);

    void deleteByTopicPostId(@Param("list")List<Long> list,@Param("oldUserId") Long oldUserId);
}
